//
//  OAuthCredential.swift
//  SwiftCode
//
//  Created by yuhus on 2023/8/7.
//

import Alamofire

struct OAuthCredential: AuthenticationCredential {
  let accessToken: String
  let refreshToken: String
  
  var requiresRefresh: Bool {
    Timber.d(#function, accessToken.isEmpty)
    return accessToken.isEmpty
  }
}
